﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using log4net;
using log4net.Config;
/// <summary>
///doError 的摘要说明
/// </summary>
/// 
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]
public class MyLog4net
{
    public MyLog4net()
    { }
    /// <summary>
    /// 写入错误日志记录
    /// </summary>
    /// <param name="ex"></param>
    public void writeLog(String eee)
    {
        ILog log = LogManager.GetLogger("feida");
        log.Info(eee);
       // log.Logger.Repository.Shutdown();
    }
}